package theFirstProject.package1;


import theFirstProject.interface1.AllService;

import java.io.Serializable;

public
class TalkPackage extends SericePackage implements AllService, Serializable {
    public static double money=58;
     int talkTime=500;
     int flow=0;
    public TalkPackage(){
        super(58,500,30,0);
    }

    @Override
    public
    void call() {

    }

    @Override
    public
    void net() {

    }

    @Override
    public
    void send() {

    }
    public String toString() {
        return "话唠套餐：通话时长为"+talkTime+"分钟/月，短信条数为"+smsCount+"条/月，上网流量为"+flow+"MB/月，月费为"+money+"元/月";
    }
}
